<?php

namespace Users\Form;

use Zend\Form\Form;

class SearchForm extends Form {
    
    public function __construct() {
        parent::__construct();
        $this->add(array(
            'name' => 'query',
            'attributes' => array(
                'type' => 'text',
                'id' => 'queryText',
                'required' => 'required'
            ),
            'options' => array(
                'label' => 'Search String',
            ),
        ));
        $this->add(array(
            'name' => 'submit',
            'attributes' => array(
                'type' => 'submit',
                'value' => 'Search',
                'style' => "margin-bottom: 8px; height: 27px;"
            ),
        ));
    }

}
